package com.zkw.group.mapper;

import com.zkw.group.entity.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseIndicatorSupportMapper {

    //通过课程对应二级指标编号分页查询课程对应能力指标支撑度信息
    List<CourseIndicatorSupport> getAllCourseIndicatorSupportList(String sid,String cname, int pageStart, int pageSize);

    //获取该课程对应能力指标支撑度书目
    int getCourseIndicatorSupportCounts(String sid,String cname);

    //添加课程对应能力指标支撑度
    int addCourseIndicatorSupport(CourseIndicatorSupport courseIndicatorSupport);

    //删除指定课程对应能力指标支撑度
    int deleteCourseIndicatorSupport(String sid);


    //获取每个二级指标各个支撑度数目统计
    List<IndicatorSupport> getIndicatorSupportList(String sid,int pageStart, int pageSize);

    //获取每个二级指标各个支撑度数目统计数目
    int getIndicatorSupportCounts(String sid);

    //获取每个课程各个支撑度数目统计
    List<CourseSupport> getCourseSupportList(String cname, int pageStart, int pageSize);

    //获取每个课程各个支撑度数目统计数目
    int getCourseSupportCounts(String cname);

    //获取一级指标名称以及编号列表
    List<ProfesIndicatorOne> getIndicatorOneNameList();

    //获取一级指标下的二级指标名称以及编号列表
    List<ProfesIndicatorTwo> getIndicatorTwoNameList(String fid);
}
